<!DOCTYPE HTML>
<html>
<head>
	<meta charset="utf-8">
	<meta name="renderer" content="webkit|ie-comp|ie-stand">
	<link rel="Bookmark" href="imgs/favicon.ico"/>
	<link rel="Shortcut Icon" href="imgs/favicon.ico"/>
	<link rel="stylesheet" type="text/css" href="static/h-ui/css/H-ui.min.css"/>
	<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/H-ui.admin.css"/>
	<link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css"/>
	<link rel="stylesheet" type="text/css" href="static/h-ui.admin/skin/default/skin.css" id="skin"/>
	<link rel="stylesheet" type="text/css" href="static/h-ui.admin/css/style.css"/>
	<title>后台</title>
</head>
<body>
<article class="cl pd-20">
	<form class="form form-horizontal" id="form-member-add">
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<span class="c-red">*</span> 项目名称：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" id="title"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<span class="c-red">*</span>
				项目分类：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<span class="select-box">
					<select class="select" size="1" id="cateid">
						<option value="" selected>-选择-</option>
					</select>
				</span>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<!--<span class="c-red">*</span>-->
				设计公司：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" id="cname"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<!--<span class="c-red">*</span> -->
				项目要求：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" id="yaoqiu"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<!--<span class="c-red">*</span> -->
				项目预算(元)：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" id="price"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<!--<span class="c-red">*</span> -->
				开始日期：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" id="start_day"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				<!--<span class="c-red">*</span> -->
				结束日期：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<input type="text" class="input-text" id="end_day"/>
			</div>
		</div>
		<div class="row cl">
			<label class="form-label col-xs-4 col-sm-3">
				详情内容：
			</label>
			<div class="formControls col-xs-8 col-sm-9">
				<!-- 加载编辑器的容器 -->
				<script type="text/javascript" charset="utf-8" src="../ueditor/ueditor.config.js"></script>
				<script type="text/javascript" charset="utf-8" src="../ueditor/ueditor.parse.js"></script>
				<script type="text/javascript" charset="utf-8" src="../ueditor/editor_api.js"></script>
				<script type="text/plain" id="myEditor" style="width: 100%; height: 300px;">
				</script>
				<script type="text/javascript">
					//初始化百度编辑器
					var ue = UE.getEditor('myEditor',{
						toolbars: [ [
							'bold', //加粗
							'indent', //首行缩进
							'italic', //斜体
							'underline', //下划线
							'strikethrough', //删除线
							'subscript', //下标
							'fontborder', //字符边框
							'superscript', //上标
							'formatmatch', //格式刷
							'horizontal', //分隔线
							'removeformat', //清除格式
							'time', //时间
							'date', //日期
							//'insertcode', //代码语言
							'fontfamily', //字体
							'fontsize', //字号
							'paragraph', //段落格式
							'edittable', //表格属性
							'link', //超链接
							'justifyleft', //居左对齐
							'justifyright', //居右对齐
							'justifycenter', //居中对齐
							'justifyjustify', //两端对齐
							'forecolor', //字体颜色
							'backcolor', //背景色
							'insertorderedlist', //有序列表
							'insertunorderedlist', //无序列表
							'fullscreen', //全屏
							'directionalityltr', //从左向右输入
							'directionalityrtl', //从右向左输入
							'rowspacingtop', //段前距
							'rowspacingbottom', //段后距
							'pagebreak', //分页
							'insertframe', //插入Iframe
							'attachment', //附件
							'edittip ', //编辑提示
							'touppercase', //字母大写
							'tolowercase', //字母小写
							'background', //背景
							"|",
							"simpleupload",
							"insertimage",
						] ],
						//focus时自动清空初始化时的内容
						autoClearinitialContent: true,
						//关闭字数统计
						wordCount: false,
						//关闭elementPath
						elementPathEnabled: false,
						//默认的编辑区域高度
						initialFrameHeight: 300,
						//更多其他参数，请参考ueditor.config.js中的配置项
						autoHeightEnabled: false, //固定高度
					})
				</script>
			</div>
		</div>
		<div class="row cl">
			<div class="col-xs-8 col-sm-9 col-xs-offset-4 col-sm-offset-3">
				<input class="btn btn-primary radius" type="button"
					   value="&nbsp;&nbsp;提 交&nbsp;&nbsp;" style="width: 50%;" onclick="modify();"/>
			</div>
		</div>
	</form>
</article>

<!--自定义弹窗-->
<span id="msgPop"></span>
</body>
</html>


<script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
<script type="text/javascript" src="lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="static/h-ui/js/H-ui.js"></script>
<script type="text/javascript" src="static/h-ui.admin/js/H-ui.admin.page.js"></script>
<script type="text/javascript" src="js/config.js"></script>
<script type="text/javascript" src="js/view.js"></script>
<script type="text/javascript" src="js/casexq.js"></script>
<script type="text/javascript">
	var id = getParamByUrl('id');
	var cateid = getParamByUrl('cateid');
	(function (){
		getOption(cateid);
	})();
	setTimeout(function(){
		if (id) {
			getOne(id);
		}
	}, 1000);
</script>